/*
Theme Name: TLÜ Haapsalu Kolledž
Theme URI: http://wordpress.org/extend/themes/twentyeleven
Author: Peeter Särg (disainer), Raido Kuli (arendaja)
Description: Tallinna Ülikooli Haapsalu Kolledži 2012 disain.
Version: 0.5
License: GNU General Public License
License URI: license.txt
Tags: none-for-now
Text Domain: hk-college
*/


/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}

html {
     overflow-y: scroll;
}

body {
	line-height: 1;
	margin-bottom: 70px;
}

body, a {
	font-family: 'PT Sans', sans-serif;
	font-weight: 400;
}

a {
	text-decoration: none;
}


a:hover {
	text-decoration: underline;
}

.title {
	font-family: 'Ubuntu Condensed', sans-serif;
	color: #FFF;
}

.menu-title {
	color: #FFF;
	text-transform:uppercase;
	font-size: 0.96em;
	padding: 2px 0px 15px 0px;
}

ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* Here begin the main styles */

#main-container {
	margin: auto;
}

.page-header {
	min-height: 74px;
	background: url('images/header-shadow.png') repeat-x bottom;
}

#header-menu {
	width: 622px;
	float: right;
	background: url('images/header-middle.png') no-repeat left;
	min-height: inherit;
}

#header-menu, .header-menu-container {
	background-color: #000;
}

.header-menu-container {
	height: 74px;
	width: 559px;
	float: right;
}

.header-menu-container ul {
	margin-top: 20px;
	margin-left: 15px;
}

.header-menu-container li {
	float: left;
	padding: 10px;
	border-right: 1px #4e4e4e solid;
}

.header-menu-container li a {
	color: #FFF;
	text-decoration: none;
}

.header-menu-container li:last-child {
	border: 0px;
}

.header-menu-container li:nth-child(5) {
	background: url('images/search-icon.png') center left no-repeat;
	padding-left: 17px;
	margin-left: 10px;
}

.header-menu-container li:nth-child(5):hover {
	background: url('images/search-icon-hover.png') center left no-repeat;
}

.header-menu-container li:hover a {
	color: #008cdd;
}

.page-header img {
	margin-left: 138px;
	margin-top: 5px;
	float: left;
}

#page-content {
	/*border-left: 1px solid red;
	border-right: 1px solid red;*/
	width: 962px;
	min-height: 517px;
	margin: auto;
}

#footer-wrapper {
	background: url('images/footer.png') repeat-x;
	height: 288px;
	padding-top: 92px;
	margin-top: -50px;
}

footer.page-footer {
	width: 932px;
	margin: auto;
	min-height: inherit;
	height: inherit;
}

.footer-nav-menu {
	display: inline-block;
	border-right: 1px solid #FFF;
	width: 165px;
	height: 240px;
	line-height: 1.3em;
	padding-top: 10px;
	padding-bottom: 10px;
	overflow: hidden;
	vertical-align: top;
}

.footer-nav-menu a {
	font-size: 0.85em;
	color: #FFF;
}

.footer-nav-menu-padding {
	padding-left: 22px;
}

.footer-nav-menu-middle {
	padding-right: 22px;
}

.no-border {
	border: 0px;
}

.footer-right-menu {
	width: 220px;
}


.footer-menus-wrapper {
	width: 670px;
	height: 230px;
	float:left;
}

#footer-sidebar {
	margin-top: 10px;
	font-size: 1.0em;
	min-height: 20px;
}

#sidebar-wrapper {
	width: 952px;
	margin: auto;
}

#footer-banner {
	float:left;
	width: 240px;
	height: 240px;
	/*margin-left: 20px;*/
}

#slider1 li {
	height: 70px;
	width: 205px;
	background: url('images/news-shadow.png') no-repeat right;
	padding: 10px;
}

.bx-wrapper {
	margin: auto;
}

#slider1 li.no-news-li-background {
	background: none;
}

/* Left menu on content pages */

ul.parent-pages {

}

ul.parent-pages > li > a:hover, .page-left-menu ul.menu > li > a:hover, .landing-page-menu > li > a:hover {
	background-color: #008cdd;
	color: #FFF;
}

ul.parent-pages a, .page-left-menu ul.menu a, .landing-page-menu a {
	display: block;
	width: inherit;
	padding: 8px;
	text-decoration: none;
	color: #008cdd;
}

.landing-page-menu a {
	padding: 6px;
}

ul.parent-pages > li > a, .page-left-menu ul.menu > li > a {
	font-weight: bold;
}

ul.children {
	margin-left: 12px;
	font-size: 0.9em;
}

ul.children li > a {
	padding-top: 5px;
	padding-bottom: 5px;
}

ul.children li a:hover {
	text-decoration: underline;
}

.page-left-menu {
	width: 200px;
	border-right: 2px solid rgb(239,239,239);
	display: inline-block;
	padding: 0px 12px 10px 12px;
	vertical-align: top;
}

.page-inside-content {
	padding-left: 25px;
	display: inline-block;
	width: 700px;
	padding-bottom: 25px;
}

.entry-title {
	display: inline-block;
	border-bottom: 5px solid rgb(0,140,221);
	padding: 2px 5px 5px 0px;
}

.entry-title {
	text-transform: uppercase;
	font-size: 1.25em;
	font-family: 'Ubuntu Condensed', sans-serif;
}

.entry-meta {
	float: right;
	padding: 5px;
}

footer.entry-meta {
	margin-bottom: 20px;
}

.posted-on {
	margin-top: 10px;
	float:right;
}

.entry-content {
	font-size: 0.85em;
	line-height: 1.7em;
	margin-bottom: 20px;
}

.entry-content p {
	padding: 30px 0px 6px 0px;
}

strong {
	font-weight: bold;
}

.nav-menu-container {
	height: 65px;
	margin-left: 16px;
	/*background: url('images/nav-bottom-left.png') left bottom no-repeat, url('images/nav-bottom-center.png') center bottom repeat-x, url('images/nav-bottom-right.png') right bottom no-repeat;*/
	background: url('images/nav-border-bottom.png') bottom no-repeat;
}

.nav-menu-container li {
	float: left;
	background: url('images/nav-border.png') right repeat-y;
}

.nav-menu-container li a {
	display: block;
	padding: 25px 14px 25px 14px;
	color: #0f88ce !important;
	font-size: 0.9em;
	text-transform: uppercase;
	text-decoration: none;
}

.nav-menu-container li a:hover {
	background: url('images/nav-hover.png');
}

.nav-menu-container ul li:last-child {
	background: none;
}

.wp-post-image {
	float:right;
	padding: 10px 10px 40px 20px;
}

/* Content styles few */

.main-content {
	min-height: 405px; 
	clear:both; 
}

.content-page, .content-news, .content-404, .content-search, .landing-page {
	margin-top: 25px;
}

.content-home {
	/* No styles here */
}

.news-notice-content {
	font-size: 0.8em;
	line-height: 1.4em;
	float:left;
	width: 164px;
	height: 65px;
	margin-left: 10px;
	margin-top: 12px;
	overflow: hidden;
}

#slider1 li a {
	color: #555555;
}

#slider1 li a:hover .news-notice-content {
	color: #008cdd;
}

#slider1 li a:hover .news-icon {
	background: url('images/news-icon-hover.png') center no-repeat;
}

#slider1 li a:hover .notice-icon {
	background: url('images/notice-icon-hover.png') center no-repeat;
}

.news-image {
	float: left;
	height: 70px;
	width: 29px;
}

.news-icon {
	background: url('images/news-icon.png') center no-repeat;
}

.notice-icon {
	background: url('images/notice-icon.png') center no-repeat;
}

#nav-single {
	margin-bottom: 25px;
	font-size: 0.8em;
}

#nav-single .nav-next {
	float: right;
}

/* Apply style only to direct descendents for li with class "current_page_item" */
.page-left-menu li.current_page_item  > a, .page-left-menu li.current_page_parent > a {
	color: #000;
}

.page-left-menu .widget {
	margin-bottom: 25px;
}

.content-news-archive article, .content-search article {
	clear:both;
	margin-bottom: 70px;
}

.content-news-archive {
	margin-top: 25px;
}

.content-news-header {
	padding: 5px 0px 25px 0px;
}


/* Calendar Widget */

.widget_calendar #wp-calendar {
	color: #555;
	width: 95%;
	text-align: center;
}
.widget_calendar #wp-calendar caption,
.widget_calendar #wp-calendar td,
.widget_calendar #wp-calendar th {
	text-align: center;
	padding: 4px;
}


.widget_calendar #wp-calendar caption {
	font-size: 14px;
	font-weight: 500;
	padding: 5px 0 5px 0;
	text-transform: uppercase;
}
.widget_calendar #wp-calendar th {
	background: #f4f4f4;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	font-weight: bold;
}
.widget_calendar #wp-calendar tfoot td {
	background: #f4f4f4;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
}

/* Homepage image accordion menu */

.content-home .aim a {
	
}

.content-home .aim {
	margin-top: 25px !important;
	width: 1005px !important; 
	left: -30px;
}

.content-home .aim a, .content-home .aim {
	height: 405px !important;
	margin-bottom: 5px;
}

.content-home .aim a img {
	vertical-align: top;
}

.content-home .aim a span {
	background: none;
	color: #000;
	text-transform: uppercase;
	font-family: 'Ubuntu Condensed', sans-serif;
	font-weight: normal;
	font-size: 1em;
	height: auto;
	bottom: 15px;
	left: 20px;
	text-align: center;
	width: 157px;
	margin-top: 50px;
	padding: 2px;
	
}

.content-home .aim a:last-child {
	background-position: right top;
}

.content-home .aim a:last-child span {
	bottom: -3px;
}

.widget a, .entry-meta a, #nav-single a {
	color: #008CDD;
	text-decoration: none;
}

.widget a:hover, .entry-meta a:hover, #nav-single a:hover {
	color: #0F66CE;
}

.widget_archive li {
	margin-bottom: 2px;
}

.widget-404 .widget {
	margin-top: 20px;
}

.widget-404 .widget h2 {
	margin-bottom: 20px;
}

#rollout-searchform {
	position: absolute;
	right: 178px;
	z-index: 5;
	width: 350px;
	margin-top: 16px;
	background: #000;
	-moz-border-bottom-left-radius: 5px;
	border-bottom-left-radius: 5px;
	-moz-border-bottom-right-radius: 5px;
	border-bottom-right-radius: 5px;
	padding: 5px;
}

.search-field {
	-moz-border--radius: 5px;
	border-radius: 5px;
	border: 0px;
	padding: 6px;
	padding-left: 21px;
	margin: 4px;
	font-size: 0.8em;
	width: 90%;
	background: #FFF url('images/search-icon.png') 5px 8px no-repeat;
}

.search-field:focus {
	outline: none;
}

.main-content .search-field {
	border: 1px solid rgb(111, 111, 111);
	color: #000;
	margin-left: 0px;
	width: 300px;
}

.search-results-header .entry-content {
	margin-top: 20px;
}

.content-search .search-article-header, .content-search .entry-content a {
	color: #000;
	text-decoration: none;
}

.content-search .search-article-header h1:hover, .content-search .entry-content a:hover {
	color: #008CDD;
}

.landing-page .page-inside-content {
	width: 100%;
}

.landing-page .entry-title {
	font-size: 2.3em;
}

.entry-content ul {
	margin: 20px 0px 20px 0px;
}

.entry-content ul li {
	background: url('images/list-bulletin.png') center left no-repeat;
	padding: 2px 10px 2px 22px
}
.landing-page {
	margin-top: 37px;
}

.landing-page .entry-content ul li {
	font-size: 1.1em;
}

.landing-nav-menu-wrapper {
	clear: both;
	height: 24px;
	background: url('images/nav-border-top.png') top no-repeat;
	padding: 13px 10px 10px 25px;
}

ul.landing-page-menu li {
	float: left;
	margin-right: 7px;
}

.hide-if-landing-thumbnail {
	display:none;
}

blockquote {
	background: url('images/blockquote.png') left center no-repeat;
	padding-left: 35px;
}

em {
	font-style: italic;
}

#TB_title {
	background: transparent;
	background-color: #FFF !important;
}

.landing-video-button {
	background: url('images/video-button.png') 0px 25px no-repeat;
	width: 177px;
	height: 74px;
	text-align: center;
	float: right;
	margin-right: 30px;
}

.landing-video-button:hover {
	background: url('images/video-button-hover.png') 0 25px no-repeat;
}

.landing-video-button a {
	text-decoration: none;
	font-size: 1.4em;
	color: #FFF;
	margin-left: 35px;
	top: 17px;
	position: relative;
}

.landing-video-button div {
	font-size: 13px;
	color: #606060;
}

.landing-image {
	margin-top: -75px;
}